define (require,exports,module)->
	Backbone.View.extend
	    el:'body'
	    #model:deal
		events:
			'click btn-deal-add':'add'
			'click btn-deal-del':'del'
			'click btn-deal-edit':'edit'
			'click btn-deal-view':'view'
		initialize:()->
			Backbone.on 'deal-refresh',(data)->
				console.log data
		render:(data)->
		refresh:()->